home *** CD-ROM | disk | FTP | other *** search
/ Mac-Source 1994 July / Mac-Source_July_1994.iso / Other Langs / Tickle-4.0 (tcl) / library / help / tcl / tclshell / variables < prev   
Encoding:
Text File  |  1993-10-26  |  1.9 KB  |  43 lines  |  [TEXT/$Tcl]

  1.  
  2.           ???Do something with this section???
  3.  
  4.           The following variables are  set  and/or  used  by  the  Tcl
  5.           shell.
  6.  
  7.                under if no program was  specified.   argc  Contains  a
  8.                count  of  the  number  of  argv arguments (0 if none).
  9.                argv A list containing the arguments passed in from the
  10.                command  line,  excluding  arguments  used  by  the Tcl
  11.                shell.  The first element is the first passed argument,
  12.                not the program name.
  13.  
  14.           tcl_interactive
  15.                Set to 1 if Tcl shell is invoked interactively, or 0 if
  16.                the Tcl shell is directly executing a script.  Normally
  17.                checked by scripts so that they can function as a stan-
  18.                dalone  application  if  specified on the command line,
  19.                but merely load in and not execute if loaded during  an
  20.                interactive invocation of Tcl.
  21.  
  22.           auto_path
  23.                Path to search to locate  Tcl  scripts.   Used  by  the
  24.                auto_load command and the TclX unknown command handler.
  25.                The path is a Tcl list of directory names.
  26.  
  27.           tcl_prompt1
  28.                Contains code to run to generate the prompt  used  when
  29.                interactively prompting for commands.  The code in this
  30.                hook will be evaluated and the result will be used  for
  31.                the prompt.
  32.  
  33.           tcl_prompt2
  34.                Contains code to run to generate the prompt  used  when
  35.                interactively  prompting  for continuation of an incom-
  36.                plete command.  The code in this hook will be evaluated
  37.                and the result will be used for the prompt
  38.  
  39.           TCLENV
  40.                Array that  contains  information  used  internally  by
  41.                various Tcl procedures that are part of the Tcl shell..
  42.                Don't change this array or strange errors might result.
  43.